<?php
require("../../inc/header.php");

/*
		SoftName : EmpireBak Version 2010
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

DoSetDbChar('utf8');
E_D("DROP TABLE IF EXISTS `ecs_ad`;");
E_C("CREATE TABLE `ecs_ad` (
  `ad_id` smallint(5) unsigned NOT NULL auto_increment,
  `position_id` smallint(5) unsigned NOT NULL default '0',
  `media_type` tinyint(3) unsigned NOT NULL default '0',
  `ad_name` varchar(60) NOT NULL default '',
  `ad_link` varchar(255) NOT NULL default '',
  `ad_code` text NOT NULL,
  `start_time` int(11) NOT NULL default '0',
  `end_time` int(11) NOT NULL default '0',
  `link_man` varchar(60) NOT NULL default '',
  `link_email` varchar(60) NOT NULL default '',
  `link_phone` varchar(60) NOT NULL default '',
  `click_count` mediumint(8) unsigned NOT NULL default '0',
  `enabled` tinyint(3) unsigned NOT NULL default '1',
  PRIMARY KEY  (`ad_id`),
  KEY `position_id` (`position_id`),
  KEY `enabled` (`enabled`)
) ENGINE=MyISAM AUTO_INCREMENT=118 DEFAULT CHARSET=utf8");
E_D("replace into `ecs_ad` values('1','1','0','广告-今日团购底部广告（210*100）','','1332345758117725431.jpg','1331913600','1397577600','','','','0','1');");
E_D("replace into `ecs_ad` values('2','4','0','首页-分类ID4-左侧图片','','1331970796232754863.jpg','1331913600','1397577600','','','','0','1');");
E_D("replace into `ecs_ad` values('3','5','0','首页-分类ID2-左侧图片','','1331970811682662470.jpg','1331913600','1397577600','','','','0','1');");
E_D("replace into `ecs_ad` values('4','6','0','首页-分类ID7-左侧图片','','1334074859075565128.jpg','1331913600','1397577600','','','','0','1');");
E_D("replace into `ecs_ad` values('5','7','0','首页-分类ID6-左侧图片','','1334074882460965288.jpg','1331913600','1397577600','','','','0','1');");
E_D("replace into `ecs_ad` values('6','8','3','DIY装机之向雷锋同志学习！','','DIY装机之向雷锋同志学习！','1331913600','1397577600','','','','1','1');");
E_D("replace into `ecs_ad` values('7','8','3','京东宏碁联合促销送好礼！','','京东宏碁联合促销送好礼！','1331913600','1397577600','','','','0','1');");
E_D("replace into `ecs_ad` values('8','8','3','台式机笔记本三月巨惠！','','台式机笔记本三月巨惠！','1331913600','1397577600','','','','0','1');");
E_D("replace into `ecs_ad` values('9','8','3','富勒A53g智能人手识别鼠标','','富勒A53g智能人手识别鼠标','1331913600','1397577600','','','','0','1');");
E_D("replace into `ecs_ad` values('10','8','3','希捷硬盘白色情人节专场','','希捷硬盘白色情人节专场','1331913600','1397577600','','','','0','1');");
E_D("replace into `ecs_ad` values('11','9','3','京东车载香水净化专场','','京东车载香水净化专场','1331913600','1397577600','','','','0','1');");
E_D("replace into `ecs_ad` values('12','9','3','清华同方开启节能普及风暴','','清华同方开启节能普及风暴','1331913600','1397577600','','','','0','1');");
E_D("replace into `ecs_ad` values('13','9','3','康佳智能新品首发，全面替代','','康佳智能新品首发，全面替代','1331913600','1397577600','','','','0','1');");
E_D("replace into `ecs_ad` values('14','9','3','熊猫电视三月“价”到，春日促','','熊猫电视三月“价”到，春日促','1331913600','1397577600','','','','0','1');");
E_D("replace into `ecs_ad` values('15','9','3','汽车安全座椅：关注宝宝出行','','汽车安全座椅：关注宝宝出行','1331913600','1397577600','','','','0','1');");
E_D("replace into `ecs_ad` values('18','2','0','三星双屏相机DV300','','1332356853574912955.jpg','1332345600','1398009600','','','','0','1');");
E_D("replace into `ecs_ad` values('19','2','0','奥林巴斯微单E-M5','','1332356906277055537.jpg','1332345600','1398009600','4.0英寸高清炫屏 ,1.0GHz高速处理器 , Android2.3 操作系统可升级至Andriod 4.0  ,双卡','','','0','1');");
E_D("replace into `ecs_ad` values('20','10','0','首页-分类ID4-中间图片1','','1332357565326366351.jpg','1332345600','1398009600','','','','0','1');");
E_D("replace into `ecs_ad` values('21','10','0','首页-分类ID4-中间图片2','','1332357605399755074.jpg','1332345600','1398009600','','','','0','1');");
E_D("replace into `ecs_ad` values('22','10','0','首页-分类ID4-中间图片3','','1332357620317855912.jpg','1332345600','1398009600','','','','0','1');");
E_D("replace into `ecs_ad` values('23','10','0','首页-分类ID4-中间图片4','','1332357637482685201.jpg','1332345600','1398009600','','','','0','1');");
E_D("replace into `ecs_ad` values('24','11','0','首页-分类ID2-中间图片1','','1332357709925528100.jpg','1332345600','1398009600','','','','0','1');");
E_D("replace into `ecs_ad` values('25','11','0','首页-分类ID2-中间图片2','','1332357725502835098.jpg','1332345600','1398009600','','','','0','1');");
E_D("replace into `ecs_ad` values('26','11','0','首页-分类ID2-中间图片3','','1332357739671806248.jpg','1332345600','1398009600','','','','0','1');");
E_D("replace into `ecs_ad` values('27','11','0','首页-分类ID2-中间图片4','','1332357754699351356.jpg','1332345600','1398009600','','','','0','1');");
E_D("replace into `ecs_ad` values('28','12','0','首页-分类ID4-品牌图片1','','1333789721836071369.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('29','12','0','首页-分类ID4-品牌图片2','','1333789739459276185.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('30','12','0','首页-分类ID4-品牌图片3','','1333789756857718618.jpg','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('31','12','0','首页-分类ID4-品牌图片4','','1333789777354054239.jpg','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('32','12','0','首页-分类ID4-品牌图片5','','1333789805035050198.jpg','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('33','12','0','首页-分类ID4-品牌图片6','','1333789833844157628.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('34','12','0','首页-分类ID4-品牌图片7','','1333789852077351858.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('35','12','0','首页-分类ID4-品牌图片8','','1333789873233683422.jpg','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('36','12','0','首页-分类ID4-品牌图片9','','1333789891035822425.jpg','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('37','15','0','首页-分类ID2-品牌图片1','','1333790254154224293.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('38','15','0','首页-分类ID2-品牌图片2','','1333790268862882138.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('39','15','0','首页-分类ID2-品牌图片3','','1333790285933284811.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('40','15','0','首页-分类ID2-品牌图片4','','1333790307938108913.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('41','15','0','首页-分类ID2-品牌图片5','','1333790324343760572.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('42','15','0','首页-分类ID2-品牌图片6','','1333790343817123898.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('43','15','0','首页-分类ID2-品牌图片7','','1333790360655922275.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('44','15','0','首页-分类ID2-品牌图片8','','1333790379715982260.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('45','15','0','首页-分类ID2-品牌图片9','','1333790400706499326.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('46','18','0','首页-分类ID7-品牌图片1','','1333790514256686206.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('47','18','0','首页-分类ID7-品牌图片2','','1333790529076147858.jpg','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('48','18','0','首页-分类ID7-品牌图片3','','1333790548621158491.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('49','18','0','首页-分类ID7-品牌图片4','','1333790563189744279.jpg','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('50','18','0','首页-分类ID7-品牌图片5','','1333790577641576817.jpg','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('51','18','0','首页-分类ID7-品牌图片6','','1333790601424644463.jpg','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('52','18','0','首页-分类ID7-品牌图片7','','1333790619131968818.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('53','18','0','首页-分类ID7-品牌图片8','','1333790635934876830.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('54','18','0','首页-分类ID7-品牌图片9','','1333790654417113596.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('55','21','0','首页-分类ID6-品牌图片1','','1333790770199774935.jpg','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('56','21','0','首页-分类ID6-品牌图片2','','1333790785926547513.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('57','21','0','首页-分类ID6-品牌图片3','','1333790799519772828.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('58','21','0','首页-分类ID6-品牌图片4','','1333790813754756897.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('59','21','0','首页-分类ID6-品牌图片5','','1333790827074976640.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('60','21','0','首页-分类ID6-品牌图片6','','1333790844431972289.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('61','21','0','首页-分类ID6-品牌图片7','','1333790865649676917.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('62','21','0','首页-分类ID6-品牌图片8','','1333790883728747309.gif','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('63','21','0','首页-分类ID6-品牌图片9','','1333790902995066504.jpg','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('64','13','3','首页-分类ID4-分类资讯1','','首页-分类ID4-分类资讯1','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('65','13','3','首页-分类ID4-分类资讯2','','首页-分类ID4-分类资讯2','1333728000','1336320000','','','','0','1');");
E_D("replace into `ecs_ad` values('66','13','3','首页-分类ID4-分类资讯3','','首页-分类ID4-分类资讯3','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('67','13','3','首页-分类ID4-分类资讯4','','首页-分类ID4-分类资讯4','1333728000','1336320000','','','','0','1');");
E_D("replace into `ecs_ad` values('68','13','3','首页-分类ID4-分类资讯5','','首页-分类ID4-分类资讯5','1333728000','1336320000','','','','0','1');");
E_D("replace into `ecs_ad` values('69','16','3','首页-分类ID2-分类资讯1','','首页-分类ID2-分类资讯1','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('70','16','3','首页-分类ID2-分类资讯2','','首页-分类ID2-分类资讯2','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('71','16','3','首页-分类ID2-分类资讯3','','首页-分类ID2-分类资讯3','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('72','16','3','首页-分类ID2-分类资讯4','','首页-分类ID2-分类资讯4','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('73','16','3','首页-分类ID2-分类资讯5','','首页-分类ID2-分类资讯5','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('74','19','3','首页-分类ID7-分类资讯1','','首页-分类ID7-分类资讯1','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('75','19','3','首页-分类ID7-分类资讯2','','首页-分类ID7-分类资讯2','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('76','19','3','首页-分类ID7-分类资讯3','','首页-分类ID7-分类资讯3','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('77','19','3','首页-分类ID7-分类资讯4','','首页-分类ID7-分类资讯4','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('78','19','3','首页-分类ID7-分类资讯5','','首页-分类ID7-分类资讯5','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('79','22','3','首页-分类ID6-分类资讯1','','首页-分类ID6-分类资讯','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('80','22','3','首页-分类ID6-分类资讯2','','首页-分类ID6-分类资讯2','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('81','22','3','首页-分类ID6-分类资讯3','','首页-分类ID6-分类资讯3','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('82','22','3','首页-分类ID6-分类资讯4','','首页-分类ID6-分类资讯4','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('83','22','3','首页-分类ID6-分类资讯5','','首页-分类ID6-分类资讯5','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('84','14','0','首页-分类ID4-右侧图片','','1333793033306200583.jpg','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('85','17','0','首页-分类ID2-右侧图片','','1333793215585121128.jpg','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('86','20','0','首页-分类ID7-右侧图片','','1333793239729883476.jpg','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('87','23','0','首页-分类ID6-右侧图片','','1333793262396180121.jpg','1333728000','1399392000','','','','0','1');");
E_D("replace into `ecs_ad` values('88','24','0','频道页-分类ID4-幻灯片广告1','','1333876982526002057.jpg','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('89','24','0','频道页-分类ID4-幻灯片广告2','','1333876999078912791.jpg','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('90','24','0','频道页-分类ID4-幻灯片广告3','','1333877013044226128.jpg','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('91','24','0','频道页-分类ID4-幻灯片广告4','','1333877029190900131.jpg','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('92','24','0','频道页-分类ID4-幻灯片广告5','','1333877043098782471.jpg','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('93','25','0','频道页-分类ID4-左侧图片1','','1333877162465205177.jpg','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('94','25','0','频道页-分类ID4-左侧图片2','','1333877177441620297.jpg','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('95','26','3','诺基亚Lumia 800c,京东同步发售','','诺基亚Lumia 800c,京东同步发售','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('96','26','3','重庆联通热销3G手机给力直降，速','','重庆联通热销3G手机给力直降，速','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('97','26','3','买手机,好评才是硬道理','','买手机,好评才是硬道理','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('98','26','3','戴尔智能云手机D43“五折”试用！','','戴尔智能云手机D43“五折”试用！','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('99','26','3','北京电信合约计划上线啦！','','北京电信合约计划上线啦！ ','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('100','26','3','电信iPhone4S 9日首发','','电信iPhone4S 9日首发','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('101','26','3','诺基亚Lumia 800c,京东同步发售1','','诺基亚Lumia 800c,京东同步发售1','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('102','27','0','频道页-分类ID4-右侧图片1','','1333877558716225023.jpg','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('103','27','0','频道页-分类ID4-右侧图片2','','1333877575179091387.jpg','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('104','27','0','频道页-分类ID4-右侧图片3','','1333877588847075699.jpg','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('105','27','0','频道页-分类ID4-右侧图片4','','1333877601999074172.jpg','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('106','28','0','频道页-子类ID208-左侧图片','','1333877795619535766.jpg','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('107','29','0','频道页-子类ID212-左侧图片','','1333877822120198860.jpg','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('108','30','0','频道页-子类ID224-左侧图片','','1333877847836195954.jpg','1333814400','1399478400','','','','0','1');");
E_D("replace into `ecs_ad` values('109','31','0','首页-分类ID6-中间图片1','','1334075375703729329.jpg','1334073600','1399737600','','','','0','1');");
E_D("replace into `ecs_ad` values('110','31','0','首页-分类ID6-中间图片2','','1334075391555188681.jpg','1334073600','1399737600','','','','0','1');");
E_D("replace into `ecs_ad` values('111','31','0','首页-分类ID6-中间图片3','','1334075406476164202.jpg','1334073600','1399737600','','','','0','1');");
E_D("replace into `ecs_ad` values('112','31','0','首页-分类ID6-中间图片4','','1334075423506965416.jpg','1334073600','1399737600','','','','0','1');");
E_D("replace into `ecs_ad` values('113','32','0','首页-分类ID7-中间图片1','','1334075611275038341.jpg','1334073600','1399737600','','','','0','1');");
E_D("replace into `ecs_ad` values('114','32','0','首页-分类ID7-中间图片2','','1334075625720648084.jpg','1334073600','1399737600','','','','0','1');");
E_D("replace into `ecs_ad` values('115','32','0','首页-分类ID7-中间图片3','','1334075639729298990.jpg','1334073600','1399737600','','','','0','1');");
E_D("replace into `ecs_ad` values('116','32','0','首页-分类ID7-中间图片4','','1334075653061331427.jpg','1334073600','1399737600','','','','0','1');");
E_D("replace into `ecs_ad` values('117','33','0','首页-在线读书-左侧图片','','1334076227228318167.jpg','1334073600','1399737600','','','','0','1');");

require("../../inc/footer.php");
?>